package org.smth.search.fetcher;

import com.google.inject.Injector;

import java.util.List;

public interface FetcherManager {

	public int getThreadNum();

	public void setThreadNum(int num);

	public void startAll();

	public void startAllNoStop(long interval) throws InterruptedException;

	public void stopAllNoStop();

	public boolean isAllNoStop();

	public void stopAll();

	public List<FetcherThread> getThreads();

	public void setInjector(Injector injector);

}
